package com.etime.perfectschool.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("schoolactivies")
public class SchoolActivies {
    @TableId("activityId")
    private int activityId ;
    private String activityTitle;
    private String activityContent;
    private String activityPublishTime;
    private int activityUpvote;
    private int id;
    @TableField(exist = false)
    private List<ActivitiesPhoto> activitiesPhotoList;
    @TableField(exist = false)
    private User user;
    @TableField(exist = false)
    private List<ActiviesComments> activiesCommentsList;
}
